﻿using AutoMapper;
using System.Collections.Generic;
using Tingjian.gas.service.Entities.Product;
using Tingjian.gas.service.Product.CreateDto;
using Tingjian.gas.service.Product.GetDto;
using Tingjian.gas.service.Product.UpdateDto;

namespace Tingjian.gas.service;

public class serviceApplicationAutoMapperProfile : Profile
{
    public serviceApplicationAutoMapperProfile()
    {
        /* You can configure your AutoMapper mapping configuration here.
         * Alternatively, you can split your mapping configurations
         * into multiple profile classes for a better organization. */


        CreateMap<CreateGasMeterDto, GasMeter>(MemberList.None);

        CreateMap<GetGasMeterDto, List<GasMeter>>(MemberList.None);

        CreateMap<GasMeter, GetGasMeterDto>(MemberList.None);

        CreateMap<UpdateGasMeterDto, GasMeter>(MemberList.None);




    }
}
